<template>
  <div class="pageHeadContainer">
    <div class="pageHeadWarpper">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'pageHead'
}
</script>

<style scoped lang="less">
.pageHeadContainer {
  overflow: hidden;
  background-color: #fff;
  padding: 12px;
  border-radius: 4px;
}

.pageHeadWarpper {
  position: relative;
  text-indent: 1em;
  font-size: 18px;
  font-weight: bold;
}

.pageHeadWarpper::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  bottom: 2px;
  width: 4px;
  background-color: #5290ff;
}
</style>
